package me.olook.netease.song.rank.entity;

import com.google.gson.annotations.SerializedName;

/**
 * 微博登录参数
 * @author zhaohw
 * @date 2018-05-22 14:14
 */
public class WeiBoLoginParam {

    @SerializedName(value = "su")
    private String su;

    @SerializedName(value = "servertime")
    private Long serverTime;

    @SerializedName(value = "nonce")
    private String nonce;

    @SerializedName(value = "pcid")
    private String pCid;

    @SerializedName(value = "rsakv")
    private String rsaKv;

    @SerializedName(value = "pubkey")
    private String pubKey;

    @SerializedName(value = "sp")
    private String sp;

    @SerializedName(value = "door")
    private String door;

    public WeiBoLoginParam() {
    }

    public WeiBoLoginParam(String su, Long serverTime, String nonce, String pCid, String rsaKv, String pubKey) {
        this.su = su;
        this.serverTime = serverTime;
        this.nonce = nonce;
        this.pCid = pCid;
        this.rsaKv = rsaKv;
        this.pubKey = pubKey;
    }

    public String getSu() {
        return su;
    }

    public void setSu(String su) {
        this.su = su;
    }

    public Long getServerTime() {
        return serverTime;
    }

    public void setServerTime(Long serverTime) {
        this.serverTime = serverTime;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public String getpCid() {
        return pCid;
    }

    public void setpCid(String pCid) {
        this.pCid = pCid;
    }

    public String getRsaKv() {
        return rsaKv;
    }

    public void setRsaKv(String rsaKv) {
        this.rsaKv = rsaKv;
    }

    public String getPubKey() {
        return pubKey;
    }

    public void setPubKey(String pubKey) {
        this.pubKey = pubKey;
    }

    public String getSp() {
        return sp;
    }

    public void setSp(String sp) {
        this.sp = sp;
    }

    public String getDoor() {
        return door;
    }

    public void setDoor(String door) {
        this.door = door;
    }

    @Override
    public String toString() {
        return "WeiBoLoginParam{" +
                "su='" + su + '\'' +
                ", serverTime=" + serverTime +
                ", nonce='" + nonce + '\'' +
                ", pCid='" + pCid + '\'' +
                ", rsaKv='" + rsaKv + '\'' +
                ", pubKey='" + pubKey + '\'' +
                ", sp='" + sp + '\'' +
                ", door='" + door + '\'' +
                '}';
    }
}
